package org.pub.fast.jdbc.dao;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Vector;

import org.pub.fast.base.exception.DAOException;


public class StandPubDMO {
	public static void main(String[] args){
		IBaseDAO dao = BaseDAOFactory.getInstance().getBaseDAO();
		int db = dao.getDBType();
		System.out.println(db);
		try {
			dao.executeUpdate("update tm_bs_taxorg set selfdef1 = 'aaaa' where isnull(dr,0) = 0 and substring(initdate ,1 ,7) = '2012-11'");
		} catch (DAOException e) {
			e.printStackTrace();
		}
	}
}
